#ifndef _OPTIONS_H
#define _OPTIONS_H

#include <stdbool.h>

enum capture_engine {
    CAPTURE_ENGINE_RECV,
    CAPTURE_ENGINE_MMAP,
    CAPTURE_ENGINE_PCAP,
    CAPTURE_ENGINE_DPDK,
    CAPTURE_ENGINE_UNKNOWN,
};

struct capture_options {
    char *ifname;
    int  verbose;
    bool is_file;
    enum capture_engine engine;
};

extern struct capture_options options;

int options_parse(int argc, char *argv[]);
void options_help(void);

#endif /* _OPTIONS_H */
